import { constantRoutes } from '@/router'
export default {
  namespaced: true, // 命名空间
  state: {
    routerList: []
  },
  mutations: {
    setUserInfo(state, asyncRoutes) {
      state.routerList = [...constantRoutes, ...asyncRoutes]
    }
  }
}
